<%@ Reference Control="~/Controls/Member.ascx" %>
<%@ Page language="vb" EnableViewStateMac="true" Inherits="_2bMatesSite.add_photo_album_comments" ValidateRequest="false" CodeFile="add_photo_album_comments.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<%@ Register TagPrefix="Member" TagName="Member" Src="Controls/Member.ascx" %>
<form id="Form1" method="post" runat="server">
	<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" height="100%">
		<tr runat=server id="trUserShortCut">
			<td colspan=2  align="center">
				<member:member runat="server" id="ucMemberShortcut"/>
			</td>
		</tr>
		<tr>
			<td colSpan="2">
				<table cellSpacing="0" cellPadding="0" width="100%" border="0" class="page_title"> <!-- width="526" -->
					<tr>
						<td><asp:Label id="lblTitle" runat="server">Add Photo Album Comments</asp:Label></td>
						<td align="right"><asp:HyperLink id="hlBackToGroup" runat="server" cssclass="white_link"></asp:HyperLink></td>
					</tr>
				</table>
			</td>
		</tr>		
		<tr>
			<td valign="top" width="100%" height="100%" class="main_table_border">
				<div class="content">
					<table border="0" cellpadding="0" cellspacing="1" width="100%" class="main_text"> <!-- width="556" -->						
						<tr id="trCommentPost" runat=server>
							<td align="center">
								<table cellspacing="0" cellpadding="0" width="500" border="0" height="100%" class="main_text">
									<tr>
										<td align="center" colSpan="2"><asp:image id="imgPhoto" runat="server" CssClass="small_image"></asp:image><asp:label id="lblDescription" runat=server></asp:label></td>
									</tr>
									<tr>
										<td id="error" class="small" align="center" colSpan="2"><asp:validationsummary id="ValidationSummary1" runat="server" CssClass="val_summary" DisplayMode="List"
											Height="28px" ForeColor="#F04C03"></asp:validationsummary></td>
									</tr>
									<tr>
										<td vAlign="top" align="center" height="150" colSpan="2"><b><asp:Label id="lblComments" runat=server>Comments:</asp:label></b><br>
										<asp:textbox id="txtComments" runat="server" CssClass="mail_field" Rows="8" TextMode="MultiLine"
											MaxLength="1000"></asp:textbox><asp:requiredfieldvalidator id="rvTxtComment" runat="server" ErrorMessage="Please fill in a comment" ControlToValidate="txtComments"
											Display="None"></asp:requiredfieldvalidator></td>
									</tr>
									<tr>
										<td align="center" colSpan="2"><asp:Button id="btnSend" runat="server" Text="Submit" CssClass="btn"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnSend_Click"></asp:Button>&nbsp;&nbsp;
										<asp:Button id="btnCancel" runat="server" CssClass="btn" Text="Cancel" CausesValidation="False"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnCancel_Click"></asp:Button></td>
									</tr>
								</table>
							</td>
						</tr>
						
						<tr id="trConfrimation" runat=server visible=false>
							<td valign=top>
								<table cellspacing="0" cellpadding="0" width="500" border="0" class="main_text">
									<tr>
										<td>
											<asp:label id="lblMessage" runat="server" font-bold="True">This is how your comment will appear on the page. Please confirm your comment:</asp:label>
											<br>
											<br>
											<pre style="WORD-WRAP: break-word" wrap><asp:label id="lblComment" runat="server">Description</asp:label></pre>
										</td>
									</tr>
									<tr>
										<td valign="top"><br />
											<asp:button id="btnPost" runat="server" cssclass="btn" text="Post Comment" width="113px" onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnPost_Click"></asp:button><br><br>
											<asp:button id=btnEdit runat="server" cssclass="btn" text="Edit"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnEdit_Click"></asp:button>
											<asp:button id="btnCancelConfirmation" runat="server" cssclass="btn" text="Cancel" causesvalidation="False"  onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" onclick="btnCancel_Click"></asp:button>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td height="100%">&nbsp;</td>
						</tr>
					</table>
				</div>	
			</td>
		</tr>
	</table>
</form>


